<?php
/**
 * @description:
 * @author     : Geomen
 * @time       : 2018/12/18 15:07
 */


namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class IpCrontab extends Model
{
    protected $table = 'ip_crontab';

    protected $fillable = ['user_host_id','open_id'];

    //关联user_host
    public function host(){
        return $this->belongsTo(UserHost::class,'user_host_id');
    }
}